#ifndef __CMD_WRITE_FILE_H__
#define __CMD_WRITE_FILE_H__
#include <ptcCommandOpt.h>

struct masterCmdStructName(WriteFileData)
{
    uint32_t foffset;
    uint16_t datasize;
    uint8_t fdata[1];
};
struct devCmdStructName(WriteFileData)
{
    uint8_t remain[12];
};
void masterCmdCvrtFuncName(WriteFileData)(struct masterCmdStructName(WriteFileData) *masterData);
void devCmdCvrtFuncName(WriteFileData)(struct devCmdStructName(WriteFileData) *devData);
int devCmdDealFuncName(WriteFileData)(struct ptcCmdOptStruct *cmdOpt);



#endif